<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>管理员在线</title>
    <link rel="stylesheet" type="text/css" href="/tp3.2/Public/css/showarticle.css">
</head>
<body>
<div class="header">
    <div class="header-login"><a href="<?php echo U('Index/index');?>">BackStage</a></div>
    <div style="width: 180px;height: 30px;color: #FFFFFF;float: left;margin-top: 20px">
        您好，<a href="" style="color: #0ae1c0;font-size: 20px"><?php echo ($name); ?></a>
    </div>
    <div class="header-nav">
        <a class="header-url" href="<?php echo U('Admin/article');?>">添加文章</a>
        <a class="header-url" href="<?php echo U('Admin/showarticle');?>">文章列表</a>
        <a class="header-url" href="<?php echo U('Admin/myuser');?>">用户管理</a>
        <a class="header-url" href="<?php echo U('Admin/login');?>"?quit=exit>退出登录</a>
    </div>
</div>

<!--------------------------------所有用户文章-------------------------------->
<div class="main" style="height:auto">
    <div class="box" style="height:100%;">
        <p class="main-head-a"  style="color: #FFFFFF;background-color: transparent">后台管理<?php echo ($page); ?></p>
        <div class="alist-title"><span>List</span><a href="<?php echo U('Admin/article');?>" class="add">添加</a></div>
        <?php if(is_array($artlist)): $i = 0; $__LIST__ = $artlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="alist-content">
            <img src="/tp3.2/Public/<?php echo ($vo["headurl"]); ?>" class="content-img">
            <div class="content">
                <p>作者:<?php echo ($vo["mail"]); ?></p><p>审核状态:<?php echo ($vo["state"]); ?></p>
                <h3><?php echo ($vo["headline"]); ?></h3>
                <p><?php echo ($vo["instruct"]); ?></p>
                <a href=""></a>
                <span><?php echo ($vo["content"]); ?></span><br>
            </div>
        </div><?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
</div>
<div class="footer"></div>
</body>
</html>